package cn.wolfcode.rbac.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author Lu.F
 * @since 2022-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("department")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DepartmentDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String sn;


}
